package com.ruoyi.adapayDiv.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分账记录支付确认记录对象 jy_adapay_div
 *
 * @author ch
 * @date 2022-02-28
 */
@ApiModel
public class AdapayDiv extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    @ApiModelProperty(value = "订单id")
    private Long productOrderId;

    /** 支付对象id */
    @Excel(name = "支付对象id")
    @ApiModelProperty(value = "支付对象id")
    private String paymentId;

    /** 分账总金额 */
    @Excel(name = "分账总金额")
    @ApiModelProperty(value = "分账总金额")
    private BigDecimal totalMoney;

    /** 分账金额记录 */
    @Excel(name = "分账金额记录")
    @ApiModelProperty(value = "分账金额记录")
    private String divMoney;

    /** 分账类型 */
    @Excel(name = "分账类型")
    @ApiModelProperty(value = "分账类型")
    private String divType;

    /** 请求参数 */
    @Excel(name = "请求参数")
    @ApiModelProperty(value = "请求参数")
    private String reqParam;

    /** 回调参数 */
    @Excel(name = "回调参数")
    @ApiModelProperty(value = "回调参数")
    private String resParam;

    /** 请求状态 */
    @Excel(name = "请求状态")
    @ApiModelProperty(value = "请求状态")
    private String reqState;

    /** 请求失败原因 */
    @Excel(name = "请求失败原因")
    @ApiModelProperty(value = "请求失败原因")
    private String reqFailMsg;

    /** 支付确认id */
    @Excel(name = "支付确认id")
    @ApiModelProperty(value = "支付确认id")
    private String paymentConfirmId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProductOrderId(Long productOrderId)
    {
        this.productOrderId = productOrderId;
    }

    public Long getProductOrderId()
    {
        return productOrderId;
    }
    public void setPaymentId(String paymentId)
    {
        this.paymentId = paymentId;
    }

    public String getPaymentId()
    {
        return paymentId;
    }
    public void setTotalMoney(BigDecimal totalMoney)
    {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getTotalMoney()
    {
        return totalMoney;
    }
    public void setDivMoney(String divMoney)
    {
        this.divMoney = divMoney;
    }

    public String getDivMoney()
    {
        return divMoney;
    }
    public void setDivType(String divType)
    {
        this.divType = divType;
    }

    public String getDivType()
    {
        return divType;
    }
    public void setReqParam(String reqParam)
    {
        this.reqParam = reqParam;
    }

    public String getReqParam()
    {
        return reqParam;
    }
    public void setResParam(String resParam)
    {
        this.resParam = resParam;
    }

    public String getResParam()
    {
        return resParam;
    }
    public void setReqState(String reqState)
    {
        this.reqState = reqState;
    }

    public String getReqState()
    {
        return reqState;
    }
    public void setReqFailMsg(String reqFailMsg)
    {
        this.reqFailMsg = reqFailMsg;
    }

    public String getReqFailMsg()
    {
        return reqFailMsg;
    }
    public void setPaymentConfirmId(String paymentConfirmId)
    {
        this.paymentConfirmId = paymentConfirmId;
    }

    public String getPaymentConfirmId()
    {
        return paymentConfirmId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productOrderId", getProductOrderId())
            .append("paymentId", getPaymentId())
            .append("totalMoney", getTotalMoney())
            .append("divMoney", getDivMoney())
            .append("divType", getDivType())
            .append("reqParam", getReqParam())
            .append("resParam", getResParam())
            .append("reqState", getReqState())
            .append("reqFailMsg", getReqFailMsg())
            .append("paymentConfirmId", getPaymentConfirmId())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
